package org.example.service.impl;

import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.example.Result;
import org.example.mapper.UserMapper;
import org.example.service.UserService;
import org.example.sso.model.entity.UserDO;
import org.springframework.stereotype.Component;

@Component
@Slf4j
@RequiredArgsConstructor
public class UserServiceImpl implements UserService {

    private final UserMapper userMapper;

    @Override
    public UserDO getUser(Long id) {
        return userMapper.selectById(id);
    }
}
